package com.gtr.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gtr.entity.VaccinumInfo;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;

/**
 * <p>
 * 疫苗表 Mapper 接口
 * </p>
 *
 * @author gtr
 * @since 2023-02-17
 */
@Service
public interface VaccinumInfoMapper extends BaseMapper<VaccinumInfo> {
    public BigDecimal findPriceById(Integer id);

    public Integer findStockById(Integer id);

    public int updateStock(Integer id, Integer stock);

    public int addStock(Integer id,Integer quantity);
}
